﻿using System;
using System.ComponentModel.DataAnnotations;
using BoostSite.Demo.Definitions.Base.PageTypes;
using BoostSite.Demo.Definitions.Interfaces.PageTypeInterfaces;
using BoostSite.Demo.Definitions.Templates.PropertyBlockTypes;
using EPiBoost.Core.DataAnnotations;
using EPiBoost.Core.Interfaces.ContentInterfaces;
using EPiServer.Core;
using EPiServer.DataAbstraction.PageTypeAvailability;
using EPiServer.DataAnnotations;
using EPiServer.SpecializedProperties;

namespace BoostSite.Demo.Definitions.Templates.PageTypes.Hubs
{
	[ContentType(GroupName = PageGroupNames.Content,
				 DisplayName = "Content Hub Page",
				 Description = "Content Hub",
				 AvailableInEditMode = true,
				 Order = 5,
				 GUID = "{EF652190-D3DD-4F9D-B51D-9E566DD5FBE1}")]
	[AvailablePageTypes(Include = new[] { typeof(Content.SimpleContentPage) })]
	[AutoImageThumbnail(typeof(ContentHubPage))]
	public class ContentHubPage : BaseContentPageType, INavigationRoot, ITertiaryContent
	{
		
		[Display(
			Name = "Right hand blocks",
			Description = "",
			GroupName = TabNames.Section,
			Order = 70)]
		public virtual ContentArea TertiaryContent { get; set; }

		 
		[Display(
			Name = "Image with link",
			Description = "",
			GroupName = TabNames.Content,
			Order = 40)]
		public virtual ImageWithLink MainImageWithLink { get; set; }

	}
}
